using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SWGeneracionE.Models
{
    public partial class webpages_Menu
    {
        [Key()]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int IdMenu { get; set; }
        [Required]
        public string Nombre { get; set; }
        [Required]
        public string Accion { get; set; }
        [Required]
        public int Padre { get; set; }
        [Required]
        public int Orden { get; set; }
        public string Controlador { get; set; }
        public bool Visible { get; set; }

        public virtual ICollection<Bitacora> Bitacora { get; set; }
        public virtual ICollection<webpages_MenuRol> webpages_MenuRol { get; set; }

    }
}